import pygame
import time
class Bullet:
    def __init__(self, fly):
        self.init_x = fly.init_x + 55
        self.init_y = fly.init_y - 50

    def move(self, fly):
        if self.init_y < 0:
            self.init_x = fly.init_x + 55
            self.init_y = fly.init_y - 50
        time.sleep(1)
        self.init_y -= 20
